  -- Zul'jin --
function spell0_23863(pUnit, Event) --@Creeping Paralysis,n/a--
pUnit:FullCastSpellOnTarget(43095,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23863', 6000, 1)
end
function spell1_23863(pUnit, Event) --@Energy Storm,n/a--
pUnit:FullCastSpellOnTarget(43983,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23863', 833, 1)
end
function spell2_23863(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(43215,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23863', 777, 1)
end
function spell3_23863(pUnit, Event) --@Flame Whirl,n/a--
pUnit:FullCastSpellOnTarget(43213,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23863', 2000, 1)
end
function spell4_23863(pUnit, Event) --@Grievous Throw,n/a--
pUnit:FullCastSpellOnTarget(43093,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23863', 0, 1)
end
function spell5_23863(pUnit, Event) --@Overpower,n/a--
pUnit:FullCastSpellOnTarget(43456,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23863', 0, 1)
end
function spell6_23863(pUnit, Event) --@Summon Cyclone,n/a--
pUnit:FullCastSpellOnTarget(43112,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23863', 766, 1)
end
function spell7_23863(pUnit, Event) --@Whirlwind,n/a--
pUnit:FullCastSpellOnTarget(15576,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23863', 819, 1)
end
function spell8_23863(pUnit, Event) --@Whirlwind,n/a--
pUnit:FullCastSpellOnTarget(17207,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23863', 2000, 1)
end
function Sorts_23863(pUnit, Event)
choix_sorts_23863 = math.random(0, 8)
if choix_sorts_23863 == 0 then
pUnit:RegisterEvent('spell0_23863', 1, 1)
end
if choix_sorts_23863 == 1 then
pUnit:RegisterEvent('spell1_23863', 1, 1)
end
if choix_sorts_23863 == 2 then
pUnit:RegisterEvent('spell2_23863', 1, 1)
end
if choix_sorts_23863 == 3 then
pUnit:RegisterEvent('spell3_23863', 1, 1)
end
if choix_sorts_23863 == 4 then
pUnit:RegisterEvent('spell4_23863', 1, 1)
end
if choix_sorts_23863 == 5 then
pUnit:RegisterEvent('spell5_23863', 1, 1)
end
if choix_sorts_23863 == 6 then
pUnit:RegisterEvent('spell6_23863', 1, 1)
end
if choix_sorts_23863 == 7 then
pUnit:RegisterEvent('spell7_23863', 1, 1)
end
if choix_sorts_23863 == 8 then
pUnit:RegisterEvent('spell8_23863', 1, 1)
end
end
function mob23863_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23863', math.random(1500, 3000), 1)
end
function mob23863_Leave(pUnit, Event)
end
function mob23863_Kill(pUnit, Event)
end
function mob23863_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(23863, 1, 'mob23863_Action')
RegisterUnitEvent(23863, 2, 'mob23863_Leave')
RegisterUnitEvent(23863, 3, 'mob23863_Kill')
RegisterUnitEvent(23863, 4, 'mob23863_Die')
